package com.stu.api;

import com.stu.api.fallback.UserFeginClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "stu-pro-service",fallback = UserFeginClientFallback.class)
public interface UserFeginClient {
    // 服务提供者要调用的控制器方法，这里的方法直接去拷贝
    @GetMapping("/test/show")
    String testShow();
}